package com.example.demo.controller;

import com.example.demo.service.TestService;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * test proguard
 *
 * @author 华云龙
 * @date 2019-5-20
 */
@RestController
@Log4j2
public class TestController {

    @Autowired
    private TestService testService;

    @GetMapping("/test")
    public void test() {
       log.info("520");
       testService.test();
    }
}
